<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改用户设备')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-device-edit" th:object="${device}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">imei：</label>
                <div class="col-sm-8">
                    <input name="imei" th:field="*{imei}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">imsi：</label>
                <div class="col-sm-8">
                    <input name="imsi" th:field="*{imsi}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">oaid：</label>
                <div class="col-sm-8">
                    <input name="oaid" th:field="*{oaid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">gaid：</label>
                <div class="col-sm-8">
                    <input name="gaid" th:field="*{gaid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">安卓id：</label>
                <div class="col-sm-8">
                    <input name="androidId" th:field="*{androidId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手机名称：</label>
                <div class="col-sm-8">
                    <input name="phoneName" th:field="*{phoneName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手机品牌：</label>
                <div class="col-sm-8">
                    <input name="phoneBrand" th:field="*{phoneBrand}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手机型号：</label>
                <div class="col-sm-8">
                    <input name="phoneModel" th:field="*{phoneModel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手机主板名称：</label>
                <div class="col-sm-8">
                    <input name="mainBoardName" th:field="*{mainBoardName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手机硬件平台：</label>
                <div class="col-sm-8">
                    <input name="hardwarePlatform" th:field="*{hardwarePlatform}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">cpu框架：</label>
                <div class="col-sm-8">
                    <input name="cpuFrame" th:field="*{cpuFrame}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">cpu核数：</label>
                <div class="col-sm-8">
                    <input name="cpuCoreNum" th:field="*{cpuCoreNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">cpu最大频率：</label>
                <div class="col-sm-8">
                    <input name="cpuMaxFreq" th:field="*{cpuMaxFreq}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">cpu最小频率：</label>
                <div class="col-sm-8">
                    <input name="cpuMinFreq" th:field="*{cpuMinFreq}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">安卓版本：</label>
                <div class="col-sm-8">
                    <input name="androidVersion" th:field="*{androidVersion}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">sdk版本：</label>
                <div class="col-sm-8">
                    <input name="sdkVersion" th:field="*{sdkVersion}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">分辨率：</label>
                <div class="col-sm-8">
                    <input name="resolvingPower" th:field="*{resolvingPower}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">内存：</label>
                <div class="col-sm-8">
                    <input name="memory" th:field="*{memory}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">内部存储：</label>
                <div class="col-sm-8">
                    <input name="insideStorage" th:field="*{insideStorage}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">屏幕像素密度：</label>
                <div class="col-sm-8">
                    <input name="screenPixelDensity" th:field="*{screenPixelDensity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">屏幕密度：</label>
                <div class="col-sm-8">
                    <input name="screenDensity" th:field="*{screenDensity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">前置摄像头像素：</label>
                <div class="col-sm-8">
                    <input name="frontCameraPixel" th:field="*{frontCameraPixel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">后置摄像头像素：</label>
                <div class="col-sm-8">
                    <input name="postCameraPixel" th:field="*{postCameraPixel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电池容量：</label>
                <div class="col-sm-8">
                    <input name="batteryCapacity" th:field="*{batteryCapacity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">电池技术：</label>
                <div class="col-sm-8">
                    <input name="batteryTech" th:field="*{batteryTech}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">nfc：</label>
                <div class="col-sm-8">
                    <input name="nfc" th:field="*{nfc}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">mac地址：</label>
                <div class="col-sm-8">
                    <input name="mac" th:field="*{mac}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">位置信息：</label>
                <div class="col-sm-8">
                    <input name="location" th:field="*{location}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">首次使用应用：</label>
                <div class="col-sm-8">
                    <input name="firstUseApp" th:field="*{firstUseApp}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">是否黑名单：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="isBlacklist" th:field="*{isBlacklist}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "product/device";
        $("#form-device-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/saveOrUpdate", $('#form-device-edit').serialize());
            }
        }
    </script>
</body>
</html>